<!DOCTYPE html>
<html lang="zh_CN" ng-app="registerApp">
<head>
    <meta charset="UTF-8">
    <title>用户注册</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="/static/lib/css/bootstrap.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="container" ng-controller="registerController">
    <form id="registerForm" class="form-actions form-horizontal" >
        <div class="control-group">
            <div class="control-label">
                <label for="username">用户名：</label>
            </div>
            <div class="controls">
                <input id="username" type="text" ng-model="user.username">
            </div>
        </div>
        <div class="control-group">
            <div class="control-label">
                <label for="password">密码：</label>
            </div>
            <div class="controls">
                <input id="password" type="password" ng-model="user.password">
            </div>
        </div>
        <div class="control-group">
            <div class="controls">
                <button type="submit" class="btn" ng-click="register()">注册</button>
                <button type="submit" class="btn" ng-click="clear()">重置</button>
            </div>
        </div>
    </form>
</div>
</body>
<script type="text/javascript" src="/static/lib/js/jquery.js"></script>
<script type="text/javascript" src="/static/lib/js/bootstrap.js"></script>
<script type="text/javascript" src="/static/lib/js/angular.js"></script>
<script type="text/javascript" src="/static/js/user/register.js"></script>
</html>